import request from '@/utils/request'

// --------小讲考试设定 --------

let BASE_ADDRESS = '/base/config'


//分页查询
export const geConfigListTalkAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/listTalk`,
        method: 'get',
        params: data
    })
}

//添加
export const geConfigAddTalkAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/addTalk`,
        method: 'post',
        data
    })
}

//修改
export const geConfigEditTalkAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/editTalk`,
        method: 'put',
        data
    })
}
